package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.Email;
import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Identity;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.WxAccountType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class BrokerDetailForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 16)
    private String applicant_name;
    
    @Length(max = 255)
    private String company_name;
    
    @Identity
    @NotBlank
    private String id_no;
    
    @Length(max = 16)
    private String wx_public_account;
    
    @Length(max = 32)
    private String weibo_id;
    
    @Length(max = 64)
    private String broker_name;
    
    @IntegerString
    private String fans_num;
    
    @Length(max = 32)
    private String bank_account;
    
    @Email
    private String email;
    
    @NotBlank
    @Length(max = 255)
    private String idcard_img_front;
    
    @NotBlank
    @Length(max = 255)
    private String idcard_img_back;
    
    @Length(max = 16)
    private String account_holder;
    
    @Length(max = 64)
    private String bank_name;
    
    @NotBlank
    @Length(max = 32)
    @EnumValue(enumClass = WxAccountType.class)
    private String wx_account;
    
    @Length(max = 255)
    private String business_licence;
    
    @Length(max = 8)
    private String certificate_type;
    
    @Length(max = 32)
    private String certificate_id;
    
    @Length(max = 8)
    private String own_organ;
    
    @Length(max = 8)
    private String job_title;
    
    @Length(max = 32)
    private String province_name;
    
    @Length(max = 32)
    private String city_name;
    
    @NotBlank
    @Length(max = 255)
    private String speciality;
    
    @NotBlank
    @Length(max = 255)
    private String profile;
    
    @Length(max = 64)
    private String fr_code;
    
    private String tenant_id;

    @Length(max = 32)
    private String branch_no;

    private String manager_branch_no;

    @Length(max = 32)
    private String parent_branch_no;

    private String branch_name;

    public String getApplicant_name() {
        return applicant_name;
    }

    public void setApplicant_name(String applicant_name) {
        this.applicant_name = applicant_name;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getId_no() {
        return id_no;
    }

    public void setId_no(String id_no) {
        this.id_no = id_no;
    }

    public String getWx_public_account() {
        return wx_public_account;
    }

    public void setWx_public_account(String wx_public_account) {
        this.wx_public_account = wx_public_account;
    }

    public String getWeibo_id() {
        return weibo_id;
    }

    public void setWeibo_id(String weibo_id) {
        this.weibo_id = weibo_id;
    }

    public String getBroker_name() {
        return broker_name;
    }

    public void setBroker_name(String broker_name) {
        this.broker_name = broker_name;
    }

    public String getFans_num() {
        return fans_num;
    }

    public void setFans_num(String fans_num) {
        this.fans_num = fans_num;
    }

    public String getBank_account() {
        return bank_account;
    }

    public void setBank_account(String bank_account) {
        this.bank_account = bank_account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdcard_img_front() {
        return idcard_img_front;
    }

    public void setIdcard_img_front(String idcard_img_front) {
        this.idcard_img_front = idcard_img_front;
    }

    public String getIdcard_img_back() {
        return idcard_img_back;
    }

    public void setIdcard_img_back(String idcard_img_back) {
        this.idcard_img_back = idcard_img_back;
    }

    public String getAccount_holder() {
        return account_holder;
    }

    public void setAccount_holder(String account_holder) {
        this.account_holder = account_holder;
    }

    public String getBank_name() {
        return bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getWx_account() {
        return wx_account;
    }

    public void setWx_account(String wx_account) {
        this.wx_account = wx_account;
    }

    public String getBusiness_licence() {
        return business_licence;
    }

    public void setBusiness_licence(String business_licence) {
        this.business_licence = business_licence;
    }

    public String getCertificate_type() {
        return certificate_type;
    }

    public void setCertificate_type(String certificate_type) {
        this.certificate_type = certificate_type;
    }

    public String getCertificate_id() {
        return certificate_id;
    }

    public void setCertificate_id(String certificate_id) {
        this.certificate_id = certificate_id;
    }

    public String getOwn_organ() {
        return own_organ;
    }

    public void setOwn_organ(String own_organ) {
        this.own_organ = own_organ;
    }

    public String getJob_title() {
        return job_title;
    }

    public void setJob_title(String job_title) {
        this.job_title = job_title;
    }

    public String getProvince_name() {
        return province_name;
    }

    public void setProvince_name(String province_name) {
        this.province_name = province_name;
    }

    public String getCity_name() {
        return city_name;
    }

    public void setCity_name(String city_name) {
        this.city_name = city_name;
    }

    public String getSpeciality() {
        return speciality;
    }

    public void setSpeciality(String speciality) {
        this.speciality = speciality;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getFr_code() {
        return fr_code;
    }

    public void setFr_code(String fr_code) {
        this.fr_code = fr_code;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    public String getManager_branch_no() {
        return manager_branch_no;
    }

    public void setManager_branch_no(String manager_branch_no) {
        this.manager_branch_no = manager_branch_no;
    }

    public String getParent_branch_no() {
        return parent_branch_no;
    }

    public void setParent_branch_no(String parent_branch_no) {
        this.parent_branch_no = parent_branch_no;
    }

    public String getBranch_name() {
        return branch_name;
    }

    public void setBranch_name(String branch_name) {
        this.branch_name = branch_name;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("BrokerDetailForm [applicant_name=").append(applicant_name).append(", company_name=")
                .append(company_name).append(", id_no=").append(id_no).append(", wx_public_account=")
                .append(wx_public_account).append(", weibo_id=").append(weibo_id).append(", broker_name=")
                .append(broker_name).append(", fans_num=").append(fans_num).append(", bank_account=")
                .append(bank_account).append(", email=").append(email).append(", idcard_img_front=")
                .append(idcard_img_front).append(", idcard_img_back=").append(idcard_img_back)
                .append(", account_holder=").append(account_holder).append(", bank_name=").append(bank_name)
                .append(", wx_account=").append(wx_account).append(", business_licence=").append(business_licence)
                .append(", certificate_type=").append(certificate_type).append(", certificate_id=")
                .append(certificate_id).append(", own_organ=").append(own_organ).append(", job_title=")
                .append(job_title).append(", province_name=").append(province_name).append(", city_name=")
                .append(city_name).append(", speciality=").append(speciality).append(", profile=").append(profile)
                .append(", fr_code=").append(fr_code).append(", tenant_id=").append(tenant_id)
                .append(", branch_no=").append(branch_no).append(", manager_branch_no=").append(manager_branch_no)
                .append(", parent_branch_no=").append(parent_branch_no).append(", branch_name=")
                .append(branch_name).append("]");
        return builder.toString();
    }

}
